package action.order;

import java.util.ArrayList;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.apache.struts2.ServletActionContext;

import service.OrderService;
import vo.OrderVO;

public class SelectOrderByMemberIdAction {
	
	private ArrayList<OrderVO> orderList;
	private OrderService orderService;

	public String execute() {
		HttpServletRequest request = ServletActionContext.getRequest();
		HttpSession session = request.getSession();
				
		String member_id = (String) session.getAttribute("member_id");
		
		if(member_id!=null) {

			return "success";
		}
		return "error";
	}
}
